/* Copyright (c) 2010, David Kreuter. See LICENSE for more information */

#ifndef IN_HEADERS_H
#error This file should be included through "headers.h"
#endif

typedef struct _trx{
	uint8 w,h;
	char name[17];
	uint16 *data;
}trx;

trx *read_trx(uint8 *, uint32);
int write_trx(trx *, uint8 *, uint32);
void free_trx(trx *);
uint32 size_trx(trx *);
